package cl.innovision.vo;

import java.io.Serializable;

public class Parameter implements Serializable {

	@Override
	public String toString() {
		StringBuffer sb = new StringBuffer("\ncolumn name=" + name);
		sb.append("\tcolumn type=" + type);
	

		return sb.toString();
	}

	private static final long serialVersionUID = -8886123038694323248L;

	private String name = null;
	private String type = null;
        private int precision;

    public int getPrecision() {
        return precision;
    }

    public void setPrecision(int precision) {
        this.precision = precision;
    }
        
    private String dbType =null;

	public Parameter(String name, String type,String dbType, int precision) {
		super();
		this.name = name;
		this.type = type;
                this.dbType = dbType;
                this.precision=precision;
		
	}

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getDbType() {
        return dbType;
    }

    public void setDbType(String dbType) {
        this.dbType = dbType;
    }

	
}
